package com.czy.dao;

import com.czy.model.Account;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AccountDao {
    int deleteById(Integer accountId);

    int insert(Account record);

    Account selectById(Integer accountId);

    List<Account> selectAll();

    int updateById(Account record);

    Account selectByAccountName(String userName);

    Integer findAccountByActivitieCode(String activiteCode);

    Integer updateAccountFlagById(Integer accountId);
}